package tp_automates;

public class Letter implements Symbol {

	public char symbol_letter;

	public Letter(char c) {
		symbol_letter = c;
	}

	public String toString() {
		return "" + symbol_letter;
	}

	@Override
	public boolean equals(Symbol s) {
		return symbol_letter == s.getChar();
	}

	@Override
	public char getChar() {
		return symbol_letter;
	}

}
